package com.zhixianggou.caibaobox.lottery;

import com.github.pagehelper.PageInfo;
import com.zhixianggou.caibaobox.commons.result.ReturnData;
import com.zhixianggou.caibaobox.lottery.dataShow.SLotteryService;
import com.zhixianggou.caibaobox.lottery.dataShow.WLotteryService;
import com.zhixianggou.caibaobox.lottery.dataShow.sco.SLotteryDateSco;
import com.zhixianggou.caibaobox.lottery.dataShow.sco.WLotteryDateSco;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zyq
 * 8/25/24 1:38 PM
 */
@RestController
@RequestMapping("/wLottery")
public class WLotteryController {

    @Resource
    WLotteryService wLotteryService;

    /**
     * 福彩 双色球列表
     * @param sco
     * @return
     */
    @RequestMapping("/ssqList")
    public ReturnData ssqList(WLotteryDateSco sco){
        return wLotteryService.wSsqList(sco);
    }

    /**
     * 福彩 3d 列表
     * @param sco
     * @return
     */
    @RequestMapping("/threeDList")
    public ReturnData threeDList(WLotteryDateSco sco){
        return wLotteryService.threeDList(sco);
    }

    /**
     * 福彩 kl8 列表
     * @param sco
     * @return
     */
    @RequestMapping("/kl8List")
    public ReturnData kl8List(WLotteryDateSco sco){
        return wLotteryService.kl8List(sco);
    }

    /**
     * 福彩  七乐彩 列表
     * @param sco
     * @return
     */
    @RequestMapping("/qlcList")
    public ReturnData qlcList(WLotteryDateSco sco){
        return wLotteryService.qlcList(sco);
    }
}
